package com.ruoyi.project.user.cancelaccount.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 注销用户对象 cancel_account
 * 
 * @author shixiangwen
 * @date 2022-10-11
 */
public class CancelAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 应用ID */
    @Excel(name = "应用ID")
    private String app;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 注销时间 */
    @Excel(name = "注销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApp(String app) 
    {
        this.app = app;
    }

    public String getApp() 
    {
        return app;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("app", getApp())
            .append("userId", getUserId())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
